#include <stdio.h>
/* int main()
{
    printf("     **     \n");
    printf("     **     \n");
    printf("************\n");
    printf("************\n");
    printf("    *  *    \n");
    printf("    *  *    \n");
    return 0;


} */
/* int Max(int x, int y)
{
    if(x>y)
    {
        return x;
    }
    else{
        return y;
    }
}
int main()
{
    int a = 0;
    int b = 0;
    scanf("%d%d",&a, &b);
    int sum = Max(a, b);
    printf("%d\n", sum);

    return 0;
} */
int name = 666;
int main()
{
    int x = 0;
    int y = 0;
    scanf("%d", &x);
    if (x<0)
    {
        y = 1;
    }
    else if (x == 0)
    {
        y = 0;
    }
    else{
        y = -1;
    }
    printf("%d", y);
    
    
    

    return 0;
}


